package com.dlc.shop.user.common.model;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 弹窗广告关联
 * @author TRACK
 */
@Data
@TableName("tz_popup_relate")
public class PopupRelate implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 关联id
     */
    @TableId
    private Long relateId;

    /**
     * 弹窗广告id
     */
    private Long popupId;
    /**
     * 会员等级id
     */
    private Long userLevelId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    public PopupRelate() {
    }

    public PopupRelate(Long popupId, Long userLevelId) {
        this.popupId = popupId;
        this.userLevelId = userLevelId;
    }
}
